package com.baizhi.service;

import com.baizhi.entity.BzAdmin;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface BzAdminService {
    public boolean login(String name, String password);
    Page<BzAdmin> selectAll(Integer page, Integer size);

    public void insert(BzAdmin bzAdmin);
    public BzAdmin showOne(Integer id);

    public void delete(Integer id);
    public void update(BzAdmin bzAdmin);
    public void deleteAll(List<BzAdmin> ids);

}
